const {ccclass, property} = cc._decorator;

@ccclass
export default class bottomBarState extends cc.Component {

    @property(cc.Node)
    video_restart: cc.Node = null;

    @property(cc.Node)
    video_skip: cc.Node = null;

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {}

    start () {
        //@ts-ignore
        if(window.__prv.getChannel() == 'ks1'){
            this.video_restart.active = true;
            this.video_skip.active = true;
        }
        //@ts-ignore
        window.__prv.doAction(5, ['ks3', this.video_restart, this.video_skip]);
    }

    // update (dt) {}
}
